.class public abstract Lcom/estrongs/android/pop/esclasses/f;
.super Landroid/widget/FrameLayout;
.source "ESBaseVideoController.java"


# instance fields
.field protected a:Landroid/view/animation/Animation;

.field protected b:Landroid/view/animation/Animation;

.field protected c:Landroid/view/View;

.field protected d:Landroid/widget/MediaController$MediaPlayerControl;

.field protected e:Z

.field protected f:Z

.field protected g:I

.field private h:Ljava/lang/StringBuilder;

.field private i:Ljava/util/Formatter;

.field protected j:I

.field protected k:Ljava/lang/Runnable;

.field protected final l:Ljava/lang/Runnable;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1
    .param p1    # Landroid/content/Context;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    const/4 v0, 0x0

    .line 1
    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/pop/esclasses/f;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1
    .param p1    # Landroid/content/Context;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .param p2    # Landroid/util/AttributeSet;
        .annotation build Landroidx/annotation/Nullable;
        .end annotation
    .end param

    const/4 v0, 0x0

    .line 2
    invoke-direct {p0, p1, p2, v0}, Lcom/estrongs/android/pop/esclasses/f;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 0
    .param p1    # Landroid/content/Context;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .param p2    # Landroid/util/AttributeSet;
        .annotation build Landroidx/annotation/Nullable;
        .end annotation
    .end param

    .line 3
    invoke-direct {p0, p1, p2, p3}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    const/16 p1, 0xfa0

    .line 4
    iput p1, p0, Lcom/estrongs/android/pop/esclasses/f;->g:I

    .line 5
    new-instance p1, Lcom/estrongs/android/pop/esclasses/f$a;

    invoke-direct {p1, p0}, Lcom/estrongs/android/pop/esclasses/f$a;-><init>(Lcom/estrongs/android/pop/esclasses/f;)V

    iput-object p1, p0, Lcom/estrongs/android/pop/esclasses/f;->k:Ljava/lang/Runnable;

    .line 6
    new-instance p1, Lcom/estrongs/android/pop/esclasses/a;

    invoke-direct {p1, p0}, Lcom/estrongs/android/pop/esclasses/a;-><init>(Lcom/estrongs/android/pop/esclasses/f;)V

    iput-object p1, p0, Lcom/estrongs/android/pop/esclasses/f;->l:Ljava/lang/Runnable;

    .line 7
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/f;->b()V

    return-void
.end method


# virtual methods
.method public abstract a()V
.end method

.method public abstract a(I)V
.end method

.method protected b(I)Ljava/lang/String;
    .locals 7

    .line 8
    div-int/lit16 p1, p1, 0x3e8

    .line 9
    rem-int/lit8 v0, p1, 0x3c

    .line 10
    div-int/lit8 v1, p1, 0x3c

    rem-int/lit8 v1, v1, 0x3c

    .line 11
    div-int/lit16 p1, p1, 0xe10

    .line 12
    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/f;->h:Ljava/lang/StringBuilder;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->setLength(I)V

    const/4 v2, 0x1

    const/4 v4, 0x2

    if-lez p1, :cond_0

    .line 13
    iget-object v5, p0, Lcom/estrongs/android/pop/esclasses/f;->i:Ljava/util/Formatter;

    const/4 v6, 0x3

    new-array v6, v6, [Ljava/lang/Object;

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    aput-object p1, v6, v3

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    aput-object p1, v6, v2

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    aput-object p1, v6, v4

    const-string p1, "%d:%02d:%02d"

    invoke-virtual {v5, p1, v6}, Ljava/util/Formatter;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;

    move-result-object p1

    invoke-virtual {p1}, Ljava/util/Formatter;->toString()Ljava/lang/String;

    move-result-object p1

    return-object p1

    .line 14
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/f;->i:Ljava/util/Formatter;

    new-array v4, v4, [Ljava/lang/Object;

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    aput-object v1, v4, v3

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    aput-object v0, v4, v2

    const-string v0, "%02d:%02d"

    invoke-virtual {p1, v0, v4}, Ljava/util/Formatter;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;

    move-result-object p1

    invoke-virtual {p1}, Ljava/util/Formatter;->toString()Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method

.method protected b()V
    .locals 3

    .line 1
    invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/f;->getLayoutId()I

    move-result v1

    invoke-virtual {v0, v1, p0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/f;->c:Landroid/view/View;

    .line 2
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/f;->h:Ljava/lang/StringBuilder;

    .line 3
    new-instance v0, Ljava/util/Formatter;

    iget-object v1, p0, Lcom/estrongs/android/pop/esclasses/f;->h:Ljava/lang/StringBuilder;

    invoke-static {}, Ljava/util/Locale;->getDefault()Ljava/util/Locale;

    move-result-object v2

    invoke-direct {v0, v1, v2}, Ljava/util/Formatter;-><init>(Ljava/lang/Appendable;Ljava/util/Locale;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/f;->i:Ljava/util/Formatter;

    const/4 v0, 0x1

    .line 4
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->setClickable(Z)V

    .line 5
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->setFocusable(Z)V

    .line 6
    invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f01000f

    invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/f;->a:Landroid/view/animation/Animation;

    .line 7
    invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f010010

    invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/f;->b:Landroid/view/animation/Animation;

    return-void
.end method

.method public c()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/android/pop/esclasses/f;->e:Z

    return v0
.end method

.method public synthetic d()V
    .locals 0

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/f;->a()V

    return-void
.end method

.method protected e()I
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public f()V
    .locals 1

    .line 1
    iget v0, p0, Lcom/estrongs/android/pop/esclasses/f;->g:I

    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/esclasses/f;->a(I)V

    return-void
.end method

.method public abstract getLayoutId()I
.end method

.method protected onAttachedToWindow()V
    .locals 1

    .line 1
    invoke-super {p0}, Landroid/widget/FrameLayout;->onAttachedToWindow()V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/f;->k:Ljava/lang/Runnable;

    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->post(Ljava/lang/Runnable;)Z

    return-void
.end method

.method protected onDetachedFromWindow()V
    .locals 1

    .line 1
    invoke-super {p0}, Landroid/widget/FrameLayout;->onDetachedFromWindow()V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/f;->k:Ljava/lang/Runnable;

    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->removeCallbacks(Ljava/lang/Runnable;)Z

    return-void
.end method

.method public setMediaPlayer(Landroid/widget/MediaController$MediaPlayerControl;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/esclasses/f;->d:Landroid/widget/MediaController$MediaPlayerControl;

    return-void
.end method

.method public setPlayState(I)V
    .locals 0

    .line 1
    iput p1, p0, Lcom/estrongs/android/pop/esclasses/f;->j:I

    return-void
.end method
